<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>i2c: C:/Users/Jon/Downloads/OOP/tests/db-control/dbInternshipTest.php Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">i2c
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<div class="title">C:/Users/Jon/Downloads/OOP/tests/db-control/dbInternshipTest.php</div>  </div>
</div>
<div class="contents">
<a href="db_internship_test_8php.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 &lt;?php
<a name="l00002"></a>00002 
<a name="l00003"></a>00003 require_once dirname(__FILE__) . <span class="stringliteral">&#39;/../../db-control/dbInternship.php&#39;</span>;
<a name="l00004"></a>00004 include dirname(__FILE__) . <span class="stringliteral">&#39;/../../db-control/inc/functions.php&#39;</span>;
<a name="l00005"></a>00005 
<a name="l00010"></a><a class="code" href="classdb_internship_test.html">00010</a> <span class="keyword">class </span><a class="code" href="classdb_internship_test.html">dbInternshipTest</a> <span class="keyword">extends</span> PHPUnit_Framework_TestCase {
<a name="l00011"></a>00011 
<a name="l00015"></a><a class="code" href="classdb_internship_test.html#a52123b83a1952a68c5513e47d59ec4a6">00015</a>     <span class="keyword">protected</span> <a class="code" href="classdb_internship_test.html#a52123b83a1952a68c5513e47d59ec4a6">$object</a>;
<a name="l00016"></a>00016 
<a name="l00021"></a><a class="code" href="classdb_internship_test.html#a0bc688732d2b3b162ffebaf7812e78da">00021</a>     <span class="keyword">protected</span> <span class="keyword">function</span> <a class="code" href="classdb_internship_test.html#a0bc688732d2b3b162ffebaf7812e78da">setUp</a>() {
<a name="l00022"></a>00022         $this-&gt;<span class="keywordtype">object</span> = <span class="keyword">new</span> <a class="code" href="classdb_internship.html">dbInternship</a>;
<a name="l00023"></a>00023     }
<a name="l00024"></a>00024 
<a name="l00029"></a><a class="code" href="classdb_internship_test.html#a80fe3d17e658907fc75346a0ec9d6fc7">00029</a>     <span class="keyword">protected</span> <span class="keyword">function</span> <a class="code" href="classdb_internship_test.html#a80fe3d17e658907fc75346a0ec9d6fc7">tearDown</a>() {
<a name="l00030"></a>00030 
<a name="l00031"></a>00031     }
<a name="l00032"></a>00032 
<a name="l00036"></a><a class="code" href="classdb_internship_test.html#ac2d162660be1bdd073c2b2e24270af0e">00036</a>     <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classdb_internship_test.html#ac2d162660be1bdd073c2b2e24270af0e">testGetSemester</a>() {
<a name="l00037"></a>00037         $this-&gt;assertEquals(
<a name="l00038"></a>00038                 <span class="stringliteral">&#39;spring&#39;</span>,
<a name="l00039"></a>00039                 $this-&gt;object-&gt;getSemester(1)
<a name="l00040"></a>00040         );
<a name="l00041"></a>00041     }
<a name="l00042"></a>00042 
<a name="l00046"></a><a class="code" href="classdb_internship_test.html#af74ab4e86d3d1d747e97946f4815cf50">00046</a>     <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classdb_internship_test.html#af74ab4e86d3d1d747e97946f4815cf50">testGetSemester2</a>() {
<a name="l00047"></a>00047         $this-&gt;assertEquals(
<a name="l00048"></a>00048                 <span class="stringliteral">&#39;fall&#39;</span>,
<a name="l00049"></a>00049                 $this-&gt;object-&gt;getSemester(2)
<a name="l00050"></a>00050         );
<a name="l00051"></a>00051     }
<a name="l00052"></a>00052 
<a name="l00056"></a><a class="code" href="classdb_internship_test.html#aa36878e643348f073e856decdee10162">00056</a>     <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classdb_internship_test.html#aa36878e643348f073e856decdee10162">testGetSemester3</a>() {
<a name="l00057"></a>00057         $this-&gt;assertFalse(
<a name="l00058"></a>00058                 $this-&gt;object-&gt;getSemester(3)
<a name="l00059"></a>00059         );
<a name="l00060"></a>00060     }
<a name="l00061"></a>00061 
<a name="l00065"></a><a class="code" href="classdb_internship_test.html#ae34efc3ebfdcd408bea56ef24508ce68">00065</a>     <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classdb_internship_test.html#ae34efc3ebfdcd408bea56ef24508ce68">testGetAllInternships</a>() {
<a name="l00066"></a>00066         <span class="comment">// Remove the following lines when you implement this test.</span>
<a name="l00067"></a>00067         $this-&gt;markTestIncomplete(
<a name="l00068"></a>00068                 <span class="stringliteral">&#39;This test has not been implemented yet.&#39;</span>
<a name="l00069"></a>00069         );
<a name="l00070"></a>00070     }
<a name="l00071"></a>00071 
<a name="l00075"></a><a class="code" href="classdb_internship_test.html#a2eda1a54d602cf3a86327fa4d71ef9cb">00075</a>     <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classdb_internship_test.html#a2eda1a54d602cf3a86327fa4d71ef9cb">testCheckID</a>() {
<a name="l00076"></a>00076         <span class="comment">// Remove the following lines when you implement this test.</span>
<a name="l00077"></a>00077         $this-&gt;markTestIncomplete(
<a name="l00078"></a>00078                 <span class="stringliteral">&#39;This test has not been implemented yet.&#39;</span>
<a name="l00079"></a>00079         );
<a name="l00080"></a>00080     }
<a name="l00081"></a>00081 
<a name="l00085"></a><a class="code" href="classdb_internship_test.html#a71c67ca1dfc23e152986bf5243dc2cb5">00085</a>     <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classdb_internship_test.html#a71c67ca1dfc23e152986bf5243dc2cb5">testUpdateInternship</a>() {
<a name="l00086"></a>00086         <span class="comment">// Remove the following lines when you implement this test.</span>
<a name="l00087"></a>00087         $this-&gt;markTestIncomplete(
<a name="l00088"></a>00088                 <span class="stringliteral">&#39;This test has not been implemented yet.&#39;</span>
<a name="l00089"></a>00089         );
<a name="l00090"></a>00090     }
<a name="l00091"></a>00091 
<a name="l00095"></a><a class="code" href="classdb_internship_test.html#a47e0cb11f0cffce9bf47819a49e79b72">00095</a>     <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classdb_internship_test.html#a47e0cb11f0cffce9bf47819a49e79b72">testDeleteInternship</a>() {
<a name="l00096"></a>00096         <span class="comment">// Remove the following lines when you implement this test.</span>
<a name="l00097"></a>00097         $this-&gt;markTestIncomplete(
<a name="l00098"></a>00098                 <span class="stringliteral">&#39;This test has not been implemented yet.&#39;</span>
<a name="l00099"></a>00099         );
<a name="l00100"></a>00100     }
<a name="l00101"></a>00101 
<a name="l00105"></a><a class="code" href="classdb_internship_test.html#a10002c3d3c8524e7d4b5c525e3d31d48">00105</a>     <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classdb_internship_test.html#a10002c3d3c8524e7d4b5c525e3d31d48">testAddInternship</a>() {
<a name="l00106"></a>00106         <span class="comment">// Remove the following lines when you implement this test.</span>
<a name="l00107"></a>00107         $this-&gt;markTestIncomplete(
<a name="l00108"></a>00108                 <span class="stringliteral">&#39;This test has not been implemented yet.&#39;</span>
<a name="l00109"></a>00109         );
<a name="l00110"></a>00110     }
<a name="l00111"></a>00111 
<a name="l00115"></a><a class="code" href="classdb_internship_test.html#aa1e36609e370d4f9d056d6065ab05a93">00115</a>     <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classdb_internship_test.html#aa1e36609e370d4f9d056d6065ab05a93">testGetInternship</a>() {
<a name="l00116"></a>00116         <span class="comment">// Remove the following lines when you implement this test.</span>
<a name="l00117"></a>00117         $this-&gt;markTestIncomplete(
<a name="l00118"></a>00118                 <span class="stringliteral">&#39;This test has not been implemented yet.&#39;</span>
<a name="l00119"></a>00119         );
<a name="l00120"></a>00120     }
<a name="l00121"></a>00121 
<a name="l00125"></a><a class="code" href="classdb_internship_test.html#a74666cec67a2cc525ad65c9702966974">00125</a>     <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classdb_internship_test.html#a74666cec67a2cc525ad65c9702966974">testGetStudentID</a>() {
<a name="l00126"></a>00126         <span class="comment">// Remove the following lines when you implement this test.</span>
<a name="l00127"></a>00127         $this-&gt;markTestIncomplete(
<a name="l00128"></a>00128                 <span class="stringliteral">&#39;This test has not been implemented yet.&#39;</span>
<a name="l00129"></a>00129         );
<a name="l00130"></a>00130     }
<a name="l00131"></a>00131 
<a name="l00135"></a><a class="code" href="classdb_internship_test.html#aeb15cbffbd0a8f0ae5d63b902a8f9b22">00135</a>     <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classdb_internship_test.html#aeb15cbffbd0a8f0ae5d63b902a8f9b22">testGetGotHired</a>() {
<a name="l00136"></a>00136         <span class="comment">// Remove the following lines when you implement this test.</span>
<a name="l00137"></a>00137         $this-&gt;markTestIncomplete(
<a name="l00138"></a>00138                 <span class="stringliteral">&#39;This test has not been implemented yet.&#39;</span>
<a name="l00139"></a>00139         );
<a name="l00140"></a>00140     }
<a name="l00141"></a>00141 
<a name="l00145"></a><a class="code" href="classdb_internship_test.html#adea4ea1a86c78c8a9cf8542c93250ba5">00145</a>     <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classdb_internship_test.html#adea4ea1a86c78c8a9cf8542c93250ba5">testGetOpportunityID</a>() {
<a name="l00146"></a>00146         <span class="comment">// Remove the following lines when you implement this test.</span>
<a name="l00147"></a>00147         $this-&gt;markTestIncomplete(
<a name="l00148"></a>00148                 <span class="stringliteral">&#39;This test has not been implemented yet.&#39;</span>
<a name="l00149"></a>00149         );
<a name="l00150"></a>00150     }
<a name="l00151"></a>00151 
<a name="l00155"></a><a class="code" href="classdb_internship_test.html#a8695670db0e3a4963408526eebef9d20">00155</a>     <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classdb_internship_test.html#a8695670db0e3a4963408526eebef9d20">testGetHours</a>() {
<a name="l00156"></a>00156         <span class="comment">// Remove the following lines when you implement this test.</span>
<a name="l00157"></a>00157         $this-&gt;markTestIncomplete(
<a name="l00158"></a>00158                 <span class="stringliteral">&#39;This test has not been implemented yet.&#39;</span>
<a name="l00159"></a>00159         );
<a name="l00160"></a>00160     }
<a name="l00161"></a>00161 
<a name="l00165"></a><a class="code" href="classdb_internship_test.html#ab13012f77edac67d0e3cd305987b114d">00165</a>     <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classdb_internship_test.html#ab13012f77edac67d0e3cd305987b114d">testGetSpecial</a>() {
<a name="l00166"></a>00166         <span class="comment">// Remove the following lines when you implement this test.</span>
<a name="l00167"></a>00167         $this-&gt;markTestIncomplete(
<a name="l00168"></a>00168                 <span class="stringliteral">&#39;This test has not been implemented yet.&#39;</span>
<a name="l00169"></a>00169         );
<a name="l00170"></a>00170     }
<a name="l00171"></a>00171 
<a name="l00175"></a><a class="code" href="classdb_internship_test.html#a86aebe9aec1bf037190592e9974e46bf">00175</a>     <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classdb_internship_test.html#a86aebe9aec1bf037190592e9974e46bf">test__destruct</a>() {
<a name="l00176"></a>00176         <span class="comment">// Remove the following lines when you implement this test.</span>
<a name="l00177"></a>00177         $this-&gt;markTestIncomplete(
<a name="l00178"></a>00178                 <span class="stringliteral">&#39;This test has not been implemented yet.&#39;</span>
<a name="l00179"></a>00179         );
<a name="l00180"></a>00180     }
<a name="l00181"></a>00181 
<a name="l00182"></a>00182 }
<a name="l00183"></a>00183 
<a name="l00184"></a>00184 ?&gt;
</pre></div></div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Nov 29 2011 18:18:55 for i2c by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
